﻿<Window x:Class="PearTunes.Client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PearTunes" Height="450" Width="940" xmlns:my="clr-namespace:PearTunes" WindowStyle="SingleBorderWindow" ResizeMode="CanResize" Loaded="Window_Loaded" Icon="/PearTunes.Client;component/CustomControls/pearIconSmall.png" Closing="Window_Closing">

    <Grid>
        <DockPanel HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" >
            <Grid Height="79" Name="topPanel" DockPanel.Dock="Top">
                <Rectangle Height="79" VerticalAlignment="Top" Fill="{DynamicResource mainWindowTopGradient}"/>
                <Menu Height="20" VerticalAlignment="Top" Background="{x:Null}" FontWeight="Normal" Foreground="Black" FontFamily="./Fonts/#Lucida Grande" FontSize="11" HorizontalAlignment="Left" Width="327">
                    <MenuItem Header="Fájl" Height="20">
                        <MenuItem Header="Kilépés" Click="ExitMenuItem_Click"></MenuItem>
                    </MenuItem>
                    <MenuItem Header="Nézet" Height="20">
                        <MenuItem Header="Zenék" Click="zeneRadioButton_Checked"></MenuItem>
                        <MenuItem Header="PearTunes Store" Click="storeRadioButton_Checked"></MenuItem>
                    </MenuItem>
                    <MenuItem Header="Vezérlők" Height="20">
                        <MenuItem Header="Lejátszás" Click="musicControl_PlayPressed"></MenuItem>
                        <MenuItem Header="Leállítás" Click="musicControl_PausePressed"></MenuItem>
                        <MenuItem Header="Előző szám" Click="musicControl_PrevPressed"></MenuItem>
                        <MenuItem Header="Következő szám" Click="musicControl_NextPressed"></MenuItem>
                    </MenuItem>
                    <MenuItem Header="Áruház" Height="20">
                        <MenuItem Header="Beállítások" Click="SettingsMenuItem_Click"></MenuItem>
                    </MenuItem>
                    <MenuItem Header="Súgó" Height="20">
                        <MenuItem Header="A programról"></MenuItem>
                    </MenuItem>
                </Menu>
                <Slider Height="24" HorizontalAlignment="Left" Margin="219,36,0,0" Name="volumeSlider" VerticalAlignment="Top" Width="167" Style="{StaticResource VolumeSlider}" Value="80" ValueChanged="volumeSlider_ValueChanged" SmallChange="0.01" Maximum="1" />
                <Image Height="10" Width="9" HorizontalAlignment="Left" Margin="205,42,0,0" Name="muteImage" Stretch="Fill" VerticalAlignment="Top"  Source="/PearTunes.Client;component/CustomControls/VolumeControl/down.png" SnapsToDevicePixels="True" />
                <Image Height="10" Width="13" HorizontalAlignment="Left" Margin="387,42,0,0" Name="fullVolumeImage" Stretch="Fill" VerticalAlignment="Top"  Source="/PearTunes.Client;component/CustomControls/VolumeControl/up.png" SnapsToDevicePixels="True" />
                <my:MusicInfo Height="53" Margin="416,22,124,0" x:Name="musicInfo" VerticalAlignment="Top" Artist="Beatles" Title="Yellow Submarine" TrackLength="00:03:56" FontFamily="./Fonts/#Lucida Grande" LogoVisible="True" />
                <my:MusicControlPro Height="38" HorizontalAlignment="Left" Margin="56,30,0,0" x:Name="musicControl" VerticalAlignment="Top" Width="123" PausePressed="musicControl_PausePressed" PlayPressed="musicControl_PlayPressed" NextPressed="musicControl_NextPressed" PrevPressed="musicControl_PrevPressed" />
                <my:viewSelector Height="22" Margin="0,38,12,0" x:Name="viewSelector" VerticalAlignment="Top" HorizontalAlignment="Right" Width="100"/>
            </Grid>
            <StackPanel Name="navigationPanel" Width="180" DockPanel.Dock="Left" Background="{StaticResource leftMenuBackGroundGradient}">
                <Label Content="KÖNYVTÁR" Height="23" Name="konyvtarLabel" Width="176" FontFamily="./Fonts/#Lucida Grande Bold" FontSize="11" Foreground="{StaticResource MenuFontColor}" />
                <RadioButton Content="Zene" Height="21" Name="zeneRadioButton" Width="180
                             " Style="{StaticResource ZeneRadioButtonStyle}" FontFamily="./Fonts/#Lucida Grande" FontSize="11" Checked="zeneRadioButton_Checked" IsChecked="False" GroupName="mainGroup" />
                <Label Content="ÁRUHÁZ" Height="23" Name="aruhazLabel" Width="176" FontFamily="./Fonts/#Lucida Grande Bold" FontSize="11" Foreground="{StaticResource MenuFontColor}" />
                <RadioButton Content="PearTunes Store" Height="21" Name="storeRadioButton" Width="180
                             " Style="{StaticResource StoreRadioButtonStyle}" FontFamily="./Fonts/#Lucida Grande" FontSize="11" GroupName="mainGroup" Checked="storeRadioButton_Checked" Unchecked="storeRadioButton_Unchecked" />
                <Label Content="LEJÁTSZÁSI LISTÁK" Height="23" Name="listakLabel" Width="176" FontFamily="./Fonts/#Lucida Grande Bold" FontSize="11" Foreground="{StaticResource MenuFontColor}" />
                <StackPanel Name="playlistPanel">
                    
                <RadioButton Content="Legutóbb játszott" Height="21" Name="playlistRadioButton" Width="180
                             " Style="{StaticResource PlaylistRadioButtonStyle}" FontFamily="./Fonts/#Lucida Grande" FontSize="11" GroupName="mainGroup">
                    </RadioButton>
                    <RadioButton Content="Dummy lista" Height="21" Name="playlistRadioButton2" Width="180
                             " Style="{StaticResource PlaylistRadioButtonStyle}" FontFamily="./Fonts/#Lucida Grande" FontSize="11" GroupName="mainGroup" />
            
                </StackPanel>
            </StackPanel>
            <Frame Name="mainFrame" FontFamily="./Fonts/#Lucida Grande" NavigationUIVisibility="Hidden" />
        </DockPanel>
    </Grid>
</Window>
